package com.xayy.health.mgt.service.impl;

import cn.kawins.mybatis.base.BaseServiceImpl;
import com.xayy.health.mgt.mapper.ModelTrainAccuracyMapper;
import com.xayy.health.mgt.model.ModelTrainAccuracy;
import com.xayy.health.mgt.service.ModelTrainAccuracyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhangxa
 */
@Service
public class ModelTrainAccuracyServiceImpl extends BaseServiceImpl<ModelTrainAccuracy> implements ModelTrainAccuracyService {

    @Autowired
    private ModelTrainAccuracyMapper modelTrainAccuracyMapper;

    /**
     * 根据模型id查询模型准确度数据
     *
     * @param id 模型id
     * @return List<ModelTrainAccuracy>
     */
    @Override
    public List<ModelTrainAccuracy> selectList(String id) {
        return modelTrainAccuracyMapper.selectList(id);
    }
}
